package com.mx.project.dao;

import com.mx.project.pojo.SLove;
import com.mx.project.vo.SLoveInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SLoveMapper {
    int deleteByPrimaryKey(Integer lid);

    int insert(SLove record);

    int insertSelective(SLove record);

    SLove selectByPrimaryKey(Integer lid);

    int updateByPrimaryKeySelective(SLove record);

    int updateByPrimaryKey(SLove record);

    List<SLoveInfo> selectSLoveInfoByUid(@Param("uid") Integer uid);

    int deleteByUidAndPid(Integer uid, Integer pid);

    SLove selectByUidAndPid(@Param("uid") Integer uid,@Param("pid") Integer pid);
}